package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 俱乐部主表
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Club extends Model<Club> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 俱乐部名称
     */
    private String clubName;

    /**
     * 所在省
     */
    private String province;

    /**
     * 所在市
     */
    private String city;

    /**
     * 所在区
     */
    private String area;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String clubPhone;

    /**
     * 主管名称
     */
    private String adminName;

    /**
     * 主管电话
     */
    private String adminPhone;

    /**
     * 俱乐部宣传视频
     */
    private String clubVideo;

    /**
     * 俱乐部介绍
     */
    private String clubIntroduce;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * C币数量
     */
    private Integer cmoney;

    /**
     * 宣传图1
     */
    private String cover1;

    /**
     * 宣传图2
     */
    private String cover2;

    /**
     * 宣传图3
     */
    private String cover3;

    /**
     * 宣传图4
     */
    private String cover4;

    /**
     * 宣传图5
     */
    private String cover5;

    /**
     * 宣传图6
     */
    private String cover6;

    /**
     * 状态1-上架0-下架
     */
    private Integer status;

    /**
     * 俱乐部LOGO
     */
    private String clubLogo;

    /**
     * 俱乐部管理员密码
     */
    private String adminPwd;

    /**
     * 短信剩余可发送数量
     */
    private Integer smsNum;


    public static final String ID = "id";

    public static final String CLUB_NAME = "club_name";

    public static final String PROVINCE = "province";

    public static final String CITY = "city";

    public static final String AREA = "area";

    public static final String ADDRESS = "address";

    public static final String CLUB_PHONE = "club_phone";

    public static final String ADMIN_NAME = "admin_name";

    public static final String ADMIN_PHONE = "admin_phone";

    public static final String CLUB_VIDEO = "club_video";

    public static final String CLUB_INTRODUCE = "club_introduce";

    public static final String CREATE_TIME = "create_time";

    public static final String CMONEY = "cmoney";

    public static final String COVER1 = "cover1";

    public static final String COVER2 = "cover2";

    public static final String COVER3 = "cover3";

    public static final String COVER4 = "cover4";

    public static final String COVER5 = "cover5";

    public static final String COVER6 = "cover6";

    public static final String STATUS = "status";

    public static final String CLUB_LOGO = "club_logo";

    public static final String ADMIN_PWD = "admin_pwd";

    public static final String SMS_NUM = "sms_num";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
